<%@ page contentType="text/html; charset=gb2312" pageEncoding="GBK"%>
<%@ page
	import="scsc.pub.db.DBManage"%>
<%@ page import="scsc.pm.SysTaskItem"%>
<%@ page import="scsc.pub.exception.UnifyUserException"%>
<%String mTaskInstanceId = request.getParameter("taskInstanceId");
			String mTaskItemInstanceId = request
					.getParameter("taskItemInstanceId");

			DBManage dbmanage = new DBManage();
			SysTaskItem taskItem = new SysTaskItem();
			dbmanage.begin();
			try {
				taskItem.isDone(dbmanage, new Long(mTaskItemInstanceId));
				dbmanage.commit();
				dbmanage.close();
			} catch (UnifyUserException e) {
				dbmanage.rollback();
				dbmanage.close();
			}
			response.sendRedirect("/process.do?operAtt=edit&taskInstanceId="+mTaskInstanceId);

		%>
